Reservations RP 2018-06-01: Add CosmosDb in reserved resource enum type. Add name property in PatchProperties#7164
Conversation
|
@cormacpayne Hi Cormac, Could you help take a look?Thx |
|
@luluRagdoll please link your cmdlet design review from here: https://github.com/Azure/azure-powershell-cmdlet-review-pr |
|
@maddieclayton Sure. I will work on that and link it. :) |
|
@maddieclayton This is the design review link: https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/154 Please feel free to let me know if you have any questions. Thanks |
MiYanni
left a comment
There was a problem hiding this comment.
- You need a ChangeLog.md entry for Reservations for these changes to be accepted.
- You are missing scenario tests using
Nameand the new value forReservedResourceType.
|
|
||
| ```yaml | ||
| Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer | ||
| Type: IAzureContextContainer |
There was a problem hiding this comment.
You need to regenerate all the help files using the UseFullTypeName flag. Details here: https://github.com/Azure/azure-powershell/blob/preview/documentation/development-docs/help-generation.md#updating-all-markdown-files-in-a-module
There was a problem hiding this comment.
-
You need a ChangeLog.md entry for Reservations for these changes to be accepted. --- Seems we didn't put anything in the file before.
Can I know what should be the version and what should be the date?
The latest one in the ChangeLog.md is "## 6.8.1 - August 2018" -
Yes. I think I need to update the scenario test using Name and new reservedResourceType.
There was a problem hiding this comment.
- In your changelog,
src\ResourceManager\Reservations\ChangeLog.md, you add an entry under theCurrent Releaseheader. - Sounds good.
There was a problem hiding this comment.
You didn't regenerate the help documentation using the UseFullTypeName flag.
|
|
||
| [Parameter(Mandatory = false)] | ||
| [ValidateNotNull] | ||
| public string Name { get; set; } |
There was a problem hiding this comment.
I don't see updated help documentation for the Name parameter. Also, please provide an example in the help using this parameter.
src/ResourceManager/Reservations/Commands.Reservations/Cmdlets/GetCatalog.cs
Show resolved
Hide resolved
|
@MiYanni this will need a new branch for preview release. |
|
@maddieclayton I'll create a branch when this is ready for merging. As it stands, the design review hasn't been accepted yet. |
src/ResourceManager/Reservations/Commands.Reservations/Cmdlets/GetCatalog.cs
Show resolved
Hide resolved
|
|
||
| ```yaml | ||
| Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer | ||
| Type: IAzureContextContainer |
There was a problem hiding this comment.
You didn't regenerate the help documentation using the UseFullTypeName flag.
|
I see. Looks like I should not use the command that our team has in the doc. Will follow https://github.com/Azure/azure-powershell/blob/preview/documentation/development-docs/help-generation.md#updating-all-markdown-files-in-a-module to get the full name. |
|
@MiYanni I just updated the full name in the help file and updated our own one note. Thanks for pointing out. It looks much better. Please feel free to let me know if there is anything else. |
| - Additional information about change #1 | ||
| --> | ||
| ## Current Release | ||
| ## Version 0.1.7 |
There was a problem hiding this comment.
Please remove the ## Version 0.1.7 tag. Just keep the entries under the ## Current Release tag.
|
@luluRagdoll |
|
Sure. Taking a look now. |
|
@luluRagdoll Any update? It looks like 1 test is failing, |
|
Hi Michael,
I have root cause the issue. Will update this today.
Thanks
Yulu
…Sent from my iPhone
On Sep 19, 2018, at 11:23 AM, Michael Yanni ***@***.***> wrote:
@luluRagdoll Any update? It looks like 1 test is failing, TestGetCatalog.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
| ``` | ||
|
|
||
| ### -Name | ||
| {{Fill Name Description}} |
There was a problem hiding this comment.
This is missing a description for this parameter.
There was a problem hiding this comment.
Got it. Making the change now. :)
|
@luluRagdoll Build is passing, but just a minor change to the help documentation is needed. If you make this change, I can release the module to the test gallery today. |
Description
Add CosmosDb in reserved resource enum type.
Add name property in PatchProperties
Checklist
CONTRIBUTING.mdplatyPSmodule